﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class SeflDebuger : MonoBehaviour
{
    public Button DebugButton;
    public GameObject DebugGameObj;

    public void Start()
    {
        this.DebugButton.onClick.AddListener(()=> {
            DebugGameObj.SetActive(!DebugGameObj.activeInHierarchy);
        });
    }
}
